package org.csmzxy.class2334;

import java.io.FileInputStream;
import java.io.IOException;

public class Example07 {
    public static void main(String[] args) throws IOException {
        FileInputStream In = new FileInputStream("src\\file\\test01.txt");
        int len;
        while (true) {
            byte[] bytes = new byte[11];
            while ((len = in.read(bytes)) !=  -1){
                System.out.println(new String(bytes,0,len));
            }

        }
        in.close();
    }
}